import request from '@/utils/request.ts'


/*查询流程定义列表*/
export const finishedList = (data:any) => {
    return request({
        url: '/flowable/task/finishedList',
        method: 'get',
        data: data
    })
}

/*查询表单信息*/
export const processVariables = (taskId:any) => {
    return request({
        url: `/flowable/task/processVariables/${taskId}`,
        method: 'get'
    })
}
/*查询表单信息*/
export const flowRecord = (procInsId:number,deployId:number) => {
    return request({
        url: `/flowable/task/flowRecord`,
        method: 'get',
        params:{
            procInsId,
            deployId
        }
    })
}
/*查询表单信息*/
export const flowXmlAndNode = (procInsId:number,deployId:number) => {
    return request({
        url: `/flowable/task/flowXmlAndNode`,
        method: 'get',
        params:{
            procInsId,
            deployId,
        }
    })
}

